-file("./a10recs.erl", 1).

x1() ->
    A = {person,bob,2.0,green},
    B = begin
            rec0 = A,
            case rec0 of
                {person,_,_,_} ->
                    setelement(4, rec0, brown);
                _ ->
                    erlang:error({badrecord,person})
            end
        end.

module_info() ->
    erlang:get_module_info(a10recs).

module_info(X) ->
    erlang:get_module_info(a10recs, X).

